package cn.rkylin.oms.sysrefund.dao;

import java.util.List;

import cn.rkylin.oms.sysrefund.domain.SysRefundSku;

public interface ISysRefundSkuDAO {
    int deleteByPrimaryKey(String refundSkuId);

    int insert(SysRefundSku record) throws Exception;

    int insertSelective(SysRefundSku record) throws Exception;

    SysRefundSku selectByPrimaryKey(String refundSkuId);

    int updateByPrimaryKeySelective(SysRefundSku record);

    int updateByPrimaryKey(SysRefundSku record);
    /**
     * insertBatch:批量新增退款单详情. <br/>
     *
     * @author zhanghao
     * @param recordList
     * @return
     * @throws Exception 
     */
    int insertBatch(List<SysRefundSku> recordList) throws Exception;

	List<SysRefundSku> selectByRefundId(String refundId) throws Exception;
}